1300
Is it possible to cancel or discard the values during validation
// ValidateValue event - Occurs before user changes the cell's value.
private void axG2antt1_ValidateValue(object sender, AxEXG2ANTTLib._IG2anttEvents_ValidateValueEvent e)
{
	System.Diagnostics.Debug.Print( "ValidateValue" );
	System.Diagnostics.Debug.Print( e.newValue.ToString() );
	System.Diagnostics.Debug.Print( "Change the Cancel parameter for ValidateValue event to accept/decline the newly value. " );
	System.Diagnostics.Debug.Print( "The DiscardValidateValue restores back the previously values." );
	axG2antt1.DiscardValidateValue();
}
//this.axG2antt1.ValidateValue += new AxEXG2ANTTLib._IG2anttEvents_ValidateValueEventHandler(this.axG2antt1_ValidateValue);

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.CauseValidateValue = EXG2ANTTLib.ValidateValueType.exValidateCell;
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType;
(axG2antt1.Columns.Add("Text") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
axG2antt1.EndUpdate();

1299
Is it possible to validate the values of the cells only when user leaves the focused item
// ValidateValue event - Occurs before user changes the cell's value.
private void axG2antt1_ValidateValue(object sender, AxEXG2ANTTLib._IG2anttEvents_ValidateValueEvent e)
{
	System.Diagnostics.Debug.Print( "ValidateValue" );
	System.Diagnostics.Debug.Print( e.newValue.ToString() );
	System.Diagnostics.Debug.Print( "Change the Cancel parameter for ValidateValue event to accept/decline the newly value. " );
	e.cancel = true;
	System.Diagnostics.Debug.Print( "You can not leave the item/record until the Cancel is False." );
}
//this.axG2antt1.ValidateValue += new AxEXG2ANTTLib._IG2anttEvents_ValidateValueEventHandler(this.axG2antt1_ValidateValue);

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.CauseValidateValue = EXG2ANTTLib.ValidateValueType.exValidateItem;
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType;
(axG2antt1.Columns.Add("Text") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
axG2antt1.EndUpdate();

1298
We would like to validate the values of the cells. Is it possible
// ValidateValue event - Occurs before user changes the cell's value.
private void axG2antt1_ValidateValue(object sender, AxEXG2ANTTLib._IG2anttEvents_ValidateValueEvent e)
{
	System.Diagnostics.Debug.Print( "ValidateValue" );
	System.Diagnostics.Debug.Print( e.newValue.ToString() );
	System.Diagnostics.Debug.Print( "Change the Cancel parameter for ValidateValue event to accept/decline the newly value." );
	e.cancel = true;
	System.Diagnostics.Debug.Print( "You can not leave the cell until the Cancel is False." );
}
//this.axG2antt1.ValidateValue += new AxEXG2ANTTLib._IG2anttEvents_ValidateValueEventHandler(this.axG2antt1_ValidateValue);

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.CauseValidateValue = EXG2ANTTLib.ValidateValueType.exValidateCell;
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType;
(axG2antt1.Columns.Add("Text") as EXG2ANTTLib.Column).Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
	var_Items.set_CellValue(var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"))),1,"text");
axG2antt1.EndUpdate();

1297
Is there any way to add auto-numbering
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Items");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ''";
		var_Column.Position = 0;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");

1296
How can I format my column to display the percent values “5,00%”
(axG2antt1.Columns.Add("Percent") as EXG2ANTTLib.Column).FormatColumn = "((dbl(value) * 100) format '2|,|3.')+'%'";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(0.5);
	var_Items.AddItem(0.4);
	var_Items.AddItem(0.75);

1295
I can't control bar's transparency if the bar is overlaid. What can be done

axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Task");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.set_Overlaid(EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,0);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.set_ItemBar(h,"A1",EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,80);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	var_Items.set_ItemBar(h,"A3",EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,50);

1294
How can I show the child items with no identation

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesOutside;
axG2antt1.Indent = 12;
axG2antt1.HasLines = EXG2ANTTLib.HierarchyLineEnum.exThinLine;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");

1293
Is there other ways of showing the hierarchy lines (exGroupLinesAtRoot)

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
axG2antt1.Indent = 12;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

1292
Is there other ways of showing the hierarchy lines (exGroupLinesOutside)

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesOutside;
axG2antt1.Indent = 12;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");

1291
Is there other ways of showing the hierarchy lines (exGroupLinesInsideLeaf)

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesInsideLeaf;
axG2antt1.Indent = 12;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

1290
Is there other ways of showing the hierarchy lines (exGroupLinesInside)

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLinesInside;
axG2antt1.Indent = 12;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

1289
Is there other ways of showing the hierarchy lines (exGroupLines)

axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exGroupLines;
axG2antt1.Indent = 12;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(var_Items.InsertItem(h,null,"Child 2"),null,"SubChild 2");
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_ExpandItem(h,true);

1288
How can I specify non-working dates for any year, as a repetitive expression for instance

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/24/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.AddNonworkingDate("shortdateF(value) left 5 in ('01/01','01/06','04/25','05/01','06/02','08/15','11/01','12/08','12/25','12/26')");

1287
Is it possible to specify the Easter and a day after as being non-working
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/14/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.AddNonworkingDate("not(month(value) in (3,4,5)) ? 0 : ( floor(value)=(2:=floor(date(dateS('3/1/' + year(value)) + ((1:=(((255 - 11 * (year(value) " +
"mod 19)) - 21) mod 30) + 21) + (=:1 > 48 ? -1 : 0) + 6 - ((year(value) + int(year(value) / 4)) + =:1 + (=:1 > 48 ? -1 : 0) + 1) " +
"mod 7)))) or (floor(value)= =:2 + 1))");

1286
Here's a simple sample to compute the Easter day
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Editor var_Editor = (axG2antt1.Columns.Add("Year") as EXG2ANTTLib.Column).Editor;
	var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
	var_Editor.Numeric = EXG2ANTTLib.NumericEnum.exInteger;
(axG2antt1.Columns.Add("Easter") as EXG2ANTTLib.Column).ComputedField = "date(dateS('3/1/' + int(%0)) + ((1:=(((255 - 11 * (int(%0) mod 19)) - 21) mod 30) + 21) + (=:1 > 48 ? -1 : 0) + 6 - ((int(%0) +" +
" int(int(%0) / 4)) + =:1 + (=:1 > 48 ? -1 : 0) + 1) mod 7))";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(2008);
	var_Items.AddItem(2009);
	var_Items.AddItem(2010);
	var_Items.AddItem(2011);
axG2antt1.EndUpdate();

1285
How do I specify the Easter or holydays as non-working
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/14/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.NonworkingDays = 0;
	var_Chart.AddNonworkingDate("month(value) = 7");
	var_Chart.AddNonworkingDate("not(month(value) in (3,4)) ? 0 : ( floor(value)=floor(date(dateS('3/1/' + year(value)) + ((1:=(((255 - 11 * (year(value) mod 19" +
")) - 21) mod 30) + 21) + (=:1 > 48 ? -1 : 0) + 6 - ((year(value) + int(year(value) / 4)) + =:1 + (=:1 > 48 ? -1 : 0) + 1) mod 7)" +
")))");

1284
Is it possible to add a repetitive expression to define non-working dates
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.LevelCount = 2;
	var_Chart.AddNonworkingDate(Convert.ToDateTime("1/13/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.AddNonworkingDate("month(value) = 1 and (day(value) in (1,6))");

1283
How do I get the Easter date
(axG2antt1.Columns.Add("Easter") as EXG2ANTTLib.Column).FormatColumn = "date(dateS('3/1/' + year(value))  + ((1:=(((255 - 11 * (year(value) mod 19)) - 21) mod 30) + 21) + (=:1 > 48 ? -1 : 0) + 6 - ((" +
"year(value) + int(year(value) / 4)) + =:1 + (=:1 > 48 ? -1 : 0) + 1) mod 7))";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("1/1/1989",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("1/1/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

1282
How can I calculate the number of visible units
// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void axG2antt1_ClickEvent(object sender, EventArgs e)
{
	EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
		System.Diagnostics.Debug.Print( "UnitCount:" );
		System.Diagnostics.Debug.Print( var_Chart.get_CountVisibleUnits(var_Chart.get_DateFromPoint(0,-1),var_Chart.get_DateFromPoint(1,-1)).ToString() );
}
//this.axG2antt1.ClickEvent += new EventHandler(this.axG2antt1_ClickEvent);

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;

1281
Is it possible to specify the nonworking up to minutes and I can see when using the inside zoom feature

axG2antt1.BeginUpdate();
axG2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.UnitWidth = 16;
	var_Chart.DrawLevelSeparator = EXG2ANTTLib.LevelLineEnum.exLevelNoLine;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(2);
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exMinute;
		var_Level.Count = 60;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.AllowInsideZoom = true;
	EXG2ANTTLib.InsideZoomFormat var_InsideZoomFormat = var_Chart.DefaultInsideZoomFormat;
		var_InsideZoomFormat.InsideUnit = EXG2ANTTLib.UnitEnum.exMinute;
		var_InsideZoomFormat.InsideCount = 15;
		var_InsideZoomFormat.InsideLabel = "<%nn%>";
		var_InsideZoomFormat.OwnerLabel = "Hour: <b><%h%>";
		var_InsideZoomFormat.DrawGridLines = true;
	var_Chart.InsideZooms.Add(Convert.ToDateTime("1/1/2010 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.InsideZooms.Add(Convert.ToDateTime("1/1/2010 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
(axG2antt1.Columns.Add("Non-Working") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("12:30 to 14:00 Monday to Thursday, 12:30 to 13:30 on Friday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"12:30:00\" and timeF(value) <=\"14:00:00\" ));5:( timeF(value)>=\"12:30:00\" and" +
" timeF(value) <=\"13:30:00\" );6:1;0:1) ");
	h = var_Items.AddItem("10:45 to 13:45 Monday to Thursday, 10:45 to 14:30 on Friday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"10:45:00\" and timeF(value) <=\"13:45:00\" ));5:( timeF(value)>=\"10:45:00\" and" +
" timeF(value) <=\"14:30:00\" );6:1;0:1) ");
	h = var_Items.AddItem("2:30 to 9:30 on Friday, Saturday and Sunday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"02:30:00\" and timeF(value) <=\"09:30:00\" ));1:0;2:0;3:0;4:0) ");
axG2antt1.EndUpdate();

1280
Is it possible to show the non-working units up to minutes

axG2antt1.BeginUpdate();
axG2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.UnitWidth = 16;
	var_Chart.DrawLevelSeparator = EXG2ANTTLib.LevelLineEnum.exLevelNoLine;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exMinute;
		var_Level.Count = 60;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
(axG2antt1.Columns.Add("Non-Working") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("12:30 to 14:00 Monday to Thursday, 12:30 to 13:30 on Friday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"12:30:00\" and timeF(value) <=\"14:00:00\" ));5:( timeF(value)>=\"12:30:00\" and" +
" timeF(value) <=\"13:30:00\" );6:1;0:1) ");
	h = var_Items.AddItem("10:45 to 13:45 Monday to Thursday, 10:45 to 14:30 on Friday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"10:45:00\" and timeF(value) <=\"13:45:00\" ));5:( timeF(value)>=\"10:45:00\" and" +
" timeF(value) <=\"14:30:00\" );6:1;0:1) ");
	h = var_Items.AddItem("2:30 to 9:30 on Friday, Saturday and Sunday");
	var_Items.set_ItemNonworkingUnits(h,false,"weekday(value) case (default:((timeF(value)>=\"02:30:00\" and timeF(value) <=\"09:30:00\" ));1:0;2:0;3:0;4:0) ");
axG2antt1.EndUpdate();

1279
Is it possible to define several type of progress bars

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
(axG2antt1.Columns.Add("Start") as EXG2ANTTLib.Column).Visible = false;
(axG2antt1.Columns.Add("End") as EXG2ANTTLib.Column).Visible = false;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Progress","ProgressT");
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Height = 7;
	var_Chart.Bars.Add("Task%ProgressT:Split").Shortcut = "Task";
	EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Progress"];
		var_Bar1.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
		var_Bar1.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolidUp;
	var_Chart.Bars.Add("Summary%Progress").Shortcut = "Summary";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Project");
	var_Items.set_ItemHeight(h,16);
	var_Items.set_CellValue(h,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h,2,Convert.ToDateTime("10/3/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h,"Summary",var_Items.get_CellValue(h,1),var_Items.get_CellValue(h,2),"sum",null);
	var_Items.set_ItemBar(h,"sum",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
	var_Items.set_ItemBar(h,"sum",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_CellValue(h1,1,var_Items.get_CellValue(h,1));
	var_Items.set_CellValue(h1,2,Convert.ToDateTime("9/27/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h1,"Task",var_Items.get_CellValue(h1,1),var_Items.get_CellValue(h1,2),"K1",null);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.6);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	int h2 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellValue(h2,1,var_Items.get_CellValue(h1,2));
	var_Items.set_CellValue(h2,2,Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h2,"Unknown",var_Items.get_CellValue(h2,1),var_Items.get_CellValue(h2,2),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	int h3 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellValue(h3,1,var_Items.get_CellValue(h2,2));
	var_Items.set_CellValue(h3,2,var_Items.get_CellValue(h,2));
	var_Items.AddBar(h3,"Task",var_Items.get_CellValue(h3,1),var_Items.get_CellValue(h3,2),"K3",null);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.65);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	var_Items.set_ItemBar(h3,"K3",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentColor,32768);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.GroupBars(h1,"K1",false,h2,"K2",true,31,"0;4");
	var_Items.GroupBars(h2,"K2",false,h3,"K3",true,31,"0;2");
	var_Items.DefineSummaryBars(h,"sum",h1,"K1");
	var_Items.DefineSummaryBars(h,"sum",h2,"K2");
	var_Items.DefineSummaryBars(h,"sum",h3,"K3");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(h,true);
axG2antt1.EndUpdate();

1278
Is it possible to display the percent bar over the summary bar

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Progress"];
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolidUp;
	var_Chart.Bars.Add("Summary%Progress").Shortcut = "SummaryP";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Summary");
	var_Items.AddBar(h,"SummaryP",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
axG2antt1.EndUpdate();

1277
How can I display the percent value in the lower side of the bar

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Progress"];
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Height = 7;
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
	var_Chart.Bars.Add("Task%Progress").Shortcut = "Percent";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Percent",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.5);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignPercent,2);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Percent",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
axG2antt1.EndUpdate();

1276
Is it possible to change the percent's height

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Progress"];
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Height = 7;
	var_Chart.Bars.Add("Task%Progress");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.5);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
axG2antt1.EndUpdate();

1275
How can I change the pattern for the percent bar

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Progress"];
		var_Bar.Pattern = EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(196,0,0));
	var_Chart.Bars.Add("Task%Progress");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
axG2antt1.EndUpdate();

1274
How can I change the look for the percent bar using EBN

axG2antt1.BeginUpdate();
axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\hot.ebn");
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Progress"];
		var_Bar.Color = 0x1000000;
		var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Height = 7;
	var_Chart.Bars.Add("Task%Progress");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task%Progress",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.4);
axG2antt1.EndUpdate();

1273
Is it possible to align the percent bar to the bottom of the bar

axG2antt1.BeginUpdate();
axG2antt1.DefaultItemHeight = 32;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].Height = 28;
	var_Chart.Bars.Add("Task%Progress").Shortcut = "Percent";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Percent",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","text inside");
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,0);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.75);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentCaptionFormat,"%p%");
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignPercent,2);
axG2antt1.EndUpdate();

1272
Is it possible to show the percent on the bottom side of the bar, so I can leave the text upside

axG2antt1.BeginUpdate();
axG2antt1.DefaultItemHeight = 32;
axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars["Task"].Height = 28;
		EXG2ANTTLib.Bar var_Bar = var_Bars["Progress"];
			var_Bar.Shape = EXG2ANTTLib.ShapeBarEnum.exShapeThinDown;
			var_Bar.Height = 20;
			var_Bar.Color = (uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,255));
		var_Bars.Add("Task%Progress").Shortcut = "Percent";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Percent",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","text inside");
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarVAlignCaption,0);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercent,0.75);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarPercentCaptionFormat,"<br>%p%");
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarAlignPercentCaption,1);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResizePercent,false);
axG2antt1.EndUpdate();

1271
Is it possible to assign a multiple lines labels/captions to a bar

axG2antt1.Columns.Add("Task");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.set_ItemHeight(h,32);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"Line1<br>Line2");

1270
Does your control supports multiple lines tooltip
axG2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axG2antt1.ToolTipDelay = 1;
(axG2antt1.Columns.Add("tootip") as EXG2ANTTLib.Column).ToolTip = "<font Tahoma;20>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, icon" +
"s and pictures.<br><img>pic1</img> picture ...";

1269
It is possible to write the word in red/color or to add a tooltip or a link to the word

axG2antt1.Columns.Add("Task");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/26/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,32);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","some <fgcolor=FF0000>red</fgcolor> text");
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h1,"K1",EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"And here goes the <b>tooltip</b> of the text. ");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h2,"K2",EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"And here goes the <b>tooltip</b> of the bar. ");
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"L<b>inke</b>d to a bar");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkToolTip,"And here goes the <b>tooltip</b> of the link. ");

1268
It is possible to use seconds/minutes/hours as time scale in your control, but using my regional settings

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMonth,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exDay,"<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d" +
"%>, <%yyyy%><||><||>4096");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,"<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%" +
"> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> " +
"<%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>" +
"<|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exMonth,"<%loc_mmmm%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exWeek,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exDay,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exHour,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exMinute,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exSecond,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
EXG2ANTTLib.Chart var_Chart1 = axG2antt1.Chart;
	var_Chart1.set_PaneWidth(false,0);
	var_Chart1.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart1.LevelCount = 4;
	var_Chart1.get_Level(0).Label = 4096;
	var_Chart1.get_Level(1).Label = 65536;
	var_Chart1.get_Level(2).Label = 1048576;
	EXG2ANTTLib.Level var_Level = var_Chart1.get_Level(3);
		var_Level.Count = 15;
		var_Level.Label = 16777216;
axG2antt1.EndUpdate();

1267
The chart's header is displayed in English. Can I change so it is the same as in my regional settings

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMonth,"<|><%loc_m1%><|><%loc_m2%><|><%loc_m3%><|><%loc_mmmm%><|><%loc_m3%> '<%yy%><|><%loc_mmmm%> <%yyyy%>");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exWeek,"<|><%ww%><|><%loc_m3%> <%d%>, '<%yy%><r><%ww%><|><%loc_mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exDay,"<|><%loc_d1%><|><%loc_d2%><|><%loc_d3%><|><%loc_dddd%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%><|><%loc_dddd%>, <%loc_mmmm%> <%d" +
"%>, <%yyyy%><||><||>4096");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exHour,"<|><%hh%><|><%h%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%" +
"> <%h%> <%AM/PM%><||><||>65536");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%loc_dddd%>, <%loc_mmmm%> " +
"<%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_Label(EXG2ANTTLib.UnitEnum.exSecond,"<|><%ss%><|><%nn%>:<%ss%><|><%h%>:<%nn%>:<%ss%> <%AM/PM%><|><%loc_d3%>, <%loc_m3%> <%d%>, '<%yy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>" +
"<|><%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exMonth,"<%loc_mmmm%>/<%yyyy%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exWeek,"<%loc_mmmm%> <%d%>, <%yyyy%> <%ww%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exDay,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exHour,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exMinute,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%> <%AM/PM%>");
	var_Chart.set_LabelToolTip(EXG2ANTTLib.UnitEnum.exSecond,"<%loc_dddd%>, <%loc_mmmm%> <%d%>, <%yyyy%> <%h%>:<%nn%>:<%ss%> <%AM/PM%>");
EXG2ANTTLib.Chart var_Chart1 = axG2antt1.Chart;
	var_Chart1.set_PaneWidth(false,0);
	var_Chart1.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart1.LevelCount = 2;
	var_Chart1.UnitScale = EXG2ANTTLib.UnitEnum.exDay;
axG2antt1.EndUpdate();

1266
It is possible to use seconds/minutes/hours as time scale in your control
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 4;
	var_Chart.get_Level(0).Label = 4096;
	var_Chart.get_Level(1).Label = 65536;
	var_Chart.get_Level(2).Label = 1048576;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(3);
		var_Level.Count = 15;
		var_Level.Label = 16777216;
axG2antt1.EndUpdate();

1265
Is it possible to resize chart's column/level using the mouse as we can for the columns, but do not want to resize up to hours
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,32);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowInsideZoom = true;
	var_Chart.AllowResizeInsideZoom = true;
	var_Chart.InsideZoomOnDblClick = false;
	EXG2ANTTLib.InsideZoomFormat var_InsideZoomFormat = var_Chart.DefaultInsideZoomFormat;
		var_InsideZoomFormat.OwnerLabel = "<%d%>";
		var_InsideZoomFormat.InsideLabel = "";
		var_InsideZoomFormat.InsideUnit = EXG2ANTTLib.UnitEnum.exHour;
		var_InsideZoomFormat.InsideCount = 24;
		var_InsideZoomFormat.DrawTickLines = false;
		var_InsideZoomFormat.DrawGridLines = false;
	EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 18;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

1264
Is it possible to resize chart's column/level using the mouse as we can for the columns
axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,32);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowInsideZoom = true;
	var_Chart.AllowResizeInsideZoom = true;
	var_Chart.InsideZoomOnDblClick = false;
	EXG2ANTTLib.InsideZoomFormat var_InsideZoomFormat = var_Chart.DefaultInsideZoomFormat;
		var_InsideZoomFormat.OwnerLabel = "<%d%>";
		var_InsideZoomFormat.InsideLabel = "";
		var_InsideZoomFormat.DrawTickLines = false;
		var_InsideZoomFormat.DrawGridLines = false;
	EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 18;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task"),"Task",Convert.ToDateTime("1/3/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
axG2antt1.EndUpdate();

1263
How can I empty or clear the undo/redo queue
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowUndoRedo = true;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
	System.Diagnostics.Debug.Print( "Clear undo/redo queue" );
	axG2antt1.Chart.AllowUndoRedo = false;
	axG2antt1.Chart.AllowUndoRedo = true;
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
axG2antt1.EndUpdate();

1262
How can I remove the undo/redo queue
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowUndoRedo = true;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
	System.Diagnostics.Debug.Print( "Clear undo/redo queue" );
	axG2antt1.Chart.UndoRemoveAction(null,null);
	axG2antt1.Chart.RedoRemoveAction(null,null);
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
axG2antt1.EndUpdate();

1261
Is it possible to prevent adding an undo operation for instance the RemoveLink(LinkKey) I call during the AddLink event
// AddLink event - Occurs when the user links two bars using the mouse.
private void axG2antt1_AddLink(object sender, AxEXG2ANTTLib._IG2anttEvents_AddLinkEvent e)
{
	axG2antt1.Items.RemoveLink(e.linkKey);
	axG2antt1.Chart.UndoRemoveAction(10,1);
	axG2antt1.Chart.UndoRemoveAction(11,1);
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
}
//this.axG2antt1.AddLink += new AxEXG2ANTTLib._IG2anttEvents_AddLinkEventHandler(this.axG2antt1_AddLink);

// ChartEndChanging event - Occurs after the chart has been changed.
private void axG2antt1_ChartEndChanging(object sender, AxEXG2ANTTLib._IG2anttEvents_ChartEndChangingEvent e)
{
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_UndoListAction(null,null) );
}
//this.axG2antt1.ChartEndChanging += new AxEXG2ANTTLib._IG2anttEvents_ChartEndChangingEventHandler(this.axG2antt1_ChartEndChanging);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowUndoRedo = true;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1260
Is it possible to rename the links from "Link1" to my choice
// AddLink event - Occurs when the user links two bars using the mouse.
private void axG2antt1_AddLink(object sender, AxEXG2ANTTLib._IG2anttEvents_AddLinkEvent e)
{
	axG2antt1.Items.set_Link(e.linkKey,EXG2ANTTLib.LinkPropertyEnum.exLinkKey,"newIDlink");
}
//this.axG2antt1.AddLink += new AxEXG2ANTTLib._IG2anttEvents_AddLinkEventHandler(this.axG2antt1_AddLink);

// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	System.Diagnostics.Debug.Print( axG2antt1.Chart.get_LinkFromPoint(-1,-1).ToString() );
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/25/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("7/2/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1259
How can I prevent highlighting the column from the cursor - point

axG2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJ" +
"gEgI=");
axG2antt1.set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("E1") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E2") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E3") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("E4") as EXG2ANTTLib.Column).Width = 32;

1258
Is it possible to specify the background color for the item in the chart part only
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	axG2antt1.Chart.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

1257
Is it possible to apply different visual appearance, color, sizes for item in the list and chart part

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axG2antt1.VisualAppearance.Add(3,"CP:2 2 2 -2 -2");
axG2antt1.Columns.Add("Default");
axG2antt1.SelBackMode = EXG2ANTTLib.BackModeEnum.exTransparent;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,0x1ffff00);
	axG2antt1.Chart.set_ItemBackColor(hC,0x300ff00);
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

1256
How do I change the visual appearance for the entire item, using your EBN technology

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,0x1000000);
	axG2antt1.Chart.set_ItemBackColor(hC,0x1000000);
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

1255
is it possible to specify the a different background color for the item, list and chart part

axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	axG2antt1.Chart.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,0)));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

1254
Is it possible to specify the background color for the entire row, including the chart part

axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	axG2antt1.Chart.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

1253
Is it possible to prevent overlaying the bars while moving or resizing the bars, so they get arranged once the bar is moved or resized
axG2antt1.BeginUpdate();
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Task");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.OverlaidOnMoving = false;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("");
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
axG2antt1.EndUpdate();

1252
Is it possible display numbers in the same format no matter of regional settings in the control panel
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default positive)'");
	h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
	h = var_Items.AddItem(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default negative)'");
	h = var_Items.AddItem(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '2|.|3|,|1|1')");
axG2antt1.EndUpdate();

1251
Is it possible to add a 0 for numbers less than 1 instead .7 to show 0.8
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(0.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(0.27);
	var_Items.set_FormatCell(h,0,"(value format '|||||0') +  ' <fgcolor=808080>(Display no leading zeros)'");
axG2antt1.EndUpdate();

1250
How can I specify the format for negative numbers
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(-100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||||1') +  ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
axG2antt1.EndUpdate();

1249
Is it possible to change the grouping character when display numbers
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '|||-') +  ' <fgcolor=808080>(grouping character is -)'");
axG2antt1.EndUpdate();

1248
How can I display numbers with 2 digits in each group
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(100000.27);
	var_Items.set_FormatCell(h,0,"(value format '||2') +  ' <fgcolor=808080>(grouping by 2 digits)'");
axG2antt1.EndUpdate();

1247
How can I display my numbers using a different decimal separator
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format '|;') +  ' <fgcolor=808080>(decimal separator is <b>;</b>)'");
axG2antt1.EndUpdate();

1246
Is it possible to display the numbers using 3 (three) digits
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
(axG2antt1.Columns.Add("Def") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format '') +  ' <fgcolor=808080>(default)'");
	h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format '3') +  ' <fgcolor=808080>(3 digits)'");
	h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format 2) +  '  <fgcolor=808080>(2 digits)'");
	h = var_Items.AddItem(100.27);
	var_Items.set_FormatCell(h,0,"(value format 1) +  ' <fgcolor=808080>(1 digit)'");
axG2antt1.EndUpdate();

1245
Is it possible to format numbers

axG2antt1.BeginUpdate();
axG2antt1.MarkSearchColumn = false;
axG2antt1.SelBackColor = axG2antt1.BackColor;
axG2antt1.SelForeColor = axG2antt1.ForeColor;
axG2antt1.ShowFocusRect = true;
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Name");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("A") as EXG2ANTTLib.Column);
		var_Column.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.FormatColumn = "len(value) ? value + ' +'";
		var_Column.Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("B") as EXG2ANTTLib.Column);
		var_Column1.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 36;
		var_Column1.FormatColumn = "len(value) ? value + ' +'";
		var_Column1.Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
	EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("C") as EXG2ANTTLib.Column);
		var_Column2.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 36;
		var_Column2.FormatColumn = "len(value) ? value + ' ='";
		var_Column2.Editor.EditType = EXG2ANTTLib.EditTypeEnum.SpinType;
	EXG2ANTTLib.Column var_Column3 = (var_Columns.Add("A+B+C") as EXG2ANTTLib.Column);
		var_Column3.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column3.Width = 64;
		var_Column3.ComputedField = "dbl(%1)+dbl(%2)+dbl(%3)";
		var_Column3.FormatColumn = "type(value) in (0,1) ? 'null' : ( dbl(value)<0 ? '<fgcolor=FF0000>'+ (value format '2|.|3|,|1' ) : (dbl(value)>0 ? '<fgcolor=00" +
"00FF>+'+(value format '2|.|3|,' ): '0.00') )";
		var_Column3.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.set_CellValueFormat(h,4,EXG2ANTTLib.ValueFormatEnum.exComputedField);
	int h1 = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_CellValue(h1,1,7);
	var_Items.set_CellValue(h1,2,3);
	var_Items.set_CellValue(h1,3,1);
	h1 = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellValue(h1,1,-2);
	var_Items.set_CellValue(h1,2,-2);
	var_Items.set_CellValue(h1,3,-4);
	h1 = var_Items.InsertItem(h,null,"Child 3");
	var_Items.set_CellValue(h1,1,2);
	var_Items.set_CellValue(h1,2,2);
	var_Items.set_CellValue(h1,3,-4);
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1244
How can I show the tooltip programmatically ( I want to be able to set the tooltip content dynamically just before the tooltip start to appear, not using the exBarTooltip )
// MouseMove event - Occurs when the user moves the mouse.
private void axG2antt1_MouseMoveEvent(object sender, AxEXG2ANTTLib._IG2anttEvents_MouseMoveEvent e)
{
	axG2antt1.ShowToolTip(axG2antt1.Chart.get_BarFromPoint(-1,-1),"",2,"4","-4");
}
//this.axG2antt1.MouseMoveEvent += new AxEXG2ANTTLib._IG2anttEvents_MouseMoveEventHandler(this.axG2antt1_MouseMoveEvent);

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Def");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"C","C");
	var_Items.GroupBars(h,"A",false,h,"B",true,39,null);
	var_Items.GroupBars(h,"B",false,h,"C",true,39,null);
axG2antt1.EndUpdate();

1243
How can I set the column's width to my desired width
axG2antt1.ColumnAutoResize = false;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("A") as EXG2ANTTLib.Column).Width = 128;
	(var_Columns.Add("B") as EXG2ANTTLib.Column).Width = 128;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;

1242
Is it possible to prevent intersection of three bars or more

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Def");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"C","C");
	var_Items.GroupBars(h,"A",false,h,"B",true,39,null);
	var_Items.GroupBars(h,"B",false,h,"C",true,39,null);
axG2antt1.EndUpdate();

1241
Is it possible to prevent intersection of two bars

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Def");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items.GroupBars(h,"A",false,h,"B",true,39,null);
axG2antt1.EndUpdate();

1240
Is it possible to specify the cell's value but still want to display some formatted text instead the value
axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.Columns.Add("Value");
axG2antt1.Columns.Add("FormatCell");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(1);
	var_Items.set_CellValue(h,1,12);
	var_Items.set_FormatCell(h,1,"currency(value)");
	h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h,1,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValueFormat(h,1,EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_FormatCell(h,1,"longdate(value) replace '2001' with '<b>2001</b>'");
axG2antt1.EndUpdate();

1239
How can I simulate displaying groups

axG2antt1.HasLines = EXG2ANTTLib.HierarchyLineEnum.exNoLine;
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Chart.set_PaneWidth(true,0);
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Name");
	var_Columns.Add("A");
	var_Columns.Add("B");
	var_Columns.Add("C");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Group 1");
	var_Items.set_CellHAlignment(h,0,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,EXG2ANTTLib.DividerAlignmentEnum.DividerBoth);
	var_Items.set_ItemHeight(h,24);
	var_Items.set_SortableItem(h,false);
	int h1 = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_CellValue(h1,1,1);
	var_Items.set_CellValue(h1,2,2);
	var_Items.set_CellValue(h1,3,3);
	h1 = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellValue(h1,1,4);
	var_Items.set_CellValue(h1,2,5);
	var_Items.set_CellValue(h1,3,6);
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Group 2");
	var_Items.set_CellHAlignment(h,0,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,EXG2ANTTLib.DividerAlignmentEnum.DividerBoth);
	var_Items.set_ItemHeight(h,24);
	var_Items.set_SortableItem(h,false);
	h1 = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_CellValue(h1,1,1);
	var_Items.set_CellValue(h1,2,2);
	var_Items.set_CellValue(h1,3,3);
	h1 = var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellValue(h1,1,4);
	var_Items.set_CellValue(h1,2,5);
	var_Items.set_CellValue(h1,3,6);
	var_Items.set_ExpandItem(h,true);

1238
Is it possible to specify the cell's value but still want to display some formatted text instead the value

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.MarkSearchColumn = false;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Name");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Values") as EXG2ANTTLib.Column);
		var_Column.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.set_FormatCell(h,1,"'<none>'");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1"),1,10);
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 2"),1,15);
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 3"),1,25);
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1237
I am using the FormatColumn to display the current currency, but would like hide some values. Is it possible

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.MarkSearchColumn = false;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("Name");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Values") as EXG2ANTTLib.Column);
		var_Column.SortType = EXG2ANTTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 64;
		var_Column.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.set_FormatCell(h,1," ");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1"),1,10);
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 2"),1,15);
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 3"),1,25);
	var_Items.set_ExpandItem(h,true);
axG2antt1.EndUpdate();

1236
I have a right-aligned column with check-boxes with no text, but it is not perfectly aligned. Is there something I can do
axG2antt1.BeginUpdate();
axG2antt1.TreeColumnIndex = -1;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.ShowFocusRect = false;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Default-Right") as EXG2ANTTLib.Column);
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Alignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
		var_Column.HeaderAlignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Custom-Right") as EXG2ANTTLib.Column);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellDrawPartsOrder,"icon,icons,picture,caption,check");
		var_Column1.HeaderAlignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
		var_Column1.Alignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem(null);
	var_Items.AddItem(null);
	var_Items.AddItem(null);
axG2antt1.EndUpdate();

1235
How can I specify that once I move or resize a bar other should be automatically moved/resized
axG2antt1.BeginUpdate();
axG2antt1.MarkSearchColumn = false;
axG2antt1.Columns.Add("Tasks");
(axG2antt1.Columns.Add("Start") as EXG2ANTTLib.Column).Visible = false;
(axG2antt1.Columns.Add("End") as EXG2ANTTLib.Column).Visible = false;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Item 1");
	var_Items.set_CellValue(h1,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h1,2,Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h1,"Task",var_Items.get_CellValue(h1,1),var_Items.get_CellValue(h1,2),"",null);
	int h2 = var_Items.AddItem("Item 2");
	var_Items.set_CellValue(h2,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h2,2,Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h2,"Task",var_Items.get_CellValue(h2,1),var_Items.get_CellValue(h2,2),"",null);
	var_Items.GroupBars(h1,"",true,h2,"",true,null,null);
	var_Items.GroupBars(h1,"",false,h2,"",false,null,null);
axG2antt1.EndUpdate();

1234
How can I specify that once I move a bar other should be automatically moved
axG2antt1.BeginUpdate();
axG2antt1.MarkSearchColumn = false;
axG2antt1.Columns.Add("Tasks");
(axG2antt1.Columns.Add("Start") as EXG2ANTTLib.Column).Visible = false;
(axG2antt1.Columns.Add("End") as EXG2ANTTLib.Column).Visible = false;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,64);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Item 1");
	var_Items.set_CellValue(h1,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h1,2,Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h1,"Task",var_Items.get_CellValue(h1,1),var_Items.get_CellValue(h1,2),"",null);
	int h2 = var_Items.AddItem("Item 2");
	var_Items.set_CellValue(h2,1,Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h2,2,Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddBar(h2,"Task",var_Items.get_CellValue(h2,1),var_Items.get_CellValue(h2,2),"",null);
	var_Items.GroupBars(h1,"",true,h2,"",true,3,null);
axG2antt1.EndUpdate();

1233
Is it possible to include the bar's caption in overlaying

axG2antt1.BeginUpdate();
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Task");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIncludeCaption | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Milestone";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1","task");
	var_Items.set_ItemBar(h,"A1",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","milestone");
	var_Items.set_ItemBar(h,"M",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1","task");
	var_Items.set_ItemBar(h,"A1",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M","milestone");
	var_Items.set_ItemBar(h,"M",EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
axG2antt1.EndUpdate();

1232
Sometimes, the milestone bars are not overlaying the task bars. What I am doing wrong
axG2antt1.BeginUpdate();
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Task");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIncludeCaption | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Milestone";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
axG2antt1.EndUpdate();

1231
Is it possible to add milestone bars in the same overlaid group as task is

axG2antt1.BeginUpdate();
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Task");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.OverlaidGroup = "Milestone";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Milestone",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"M",null);
axG2antt1.EndUpdate();

1230
When adding a date column and setting the SortType to SortTypeEnum.SortDateTime, the column still sorts as a string. What am I doing wrong
axG2antt1.BeginUpdate();
(axG2antt1.Columns.Add("Date") as EXG2ANTTLib.Column).SortType = EXG2ANTTLib.SortTypeEnum.SortDateTime;
axG2antt1.Columns.Add("String");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h,1,var_Items.get_CellValue(h,0));
	h = var_Items.AddItem(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h,1,var_Items.get_CellValue(h,0));
	h = var_Items.AddItem(Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(h,1,var_Items.get_CellValue(h,0));
axG2antt1.Columns[0].SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;
axG2antt1.EndUpdate();

1229
Is it possible to move an item from a parent to another
axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.InsertItem(var_Items.AddItem("C"),"","D");
	var_Items.SetParent(var_Items.get_FindItem("D",0,null),var_Items.get_FindItem("A",0,null));
axG2antt1.EndUpdate();

1228
How can I change the identation for an item
axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.InsertItem(var_Items.AddItem("C"),"","D");
	var_Items.SetParent(var_Items.get_FindItem("D",0,null),0);
axG2antt1.EndUpdate();

1227
Moving the bars fail if I am using GroupBars, exBarCanResize on 0 and exBarKeepWorkingCount on True ( bars keeps the working units and at runtime user can not resize them ). Is it possible to use the GroupBars while user should not be able to resize the bars at runtime

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.set_ItemBar(h1,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.set_ItemBar(h1,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,4);
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.set_ItemBar(h2,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.set_ItemBar(h2,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,4);
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval<br>exLimitInterval + exLimitIntervalTreatAsWorking");
	var_Items.GroupBars(h1,"",false,h2,"",true,95,"2");
axG2antt1.EndUpdate();

1226
How can I collapse all items
axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(0,false);
axG2antt1.EndUpdate();

1225
How can I expand all items
axG2antt1.BeginUpdate();
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Items");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(0,true);
axG2antt1.EndUpdate();

1224
How can I specify the distance between bars to be in a specified range of working units

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval<br>exLimitInterval+exLimitIntervalTreatAsWorking");
	var_Items.GroupBars(h1,"",false,h2,"",true,95,"0;1;5");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1223
How can I specify the distance between bars to be in a specified range

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval + exLimitInterval");
	var_Items.GroupBars(h1,"",false,h2,"",true,31,"0;1;7");
axG2antt1.EndUpdate();

1222
How can I specify the distance between bars to be no more than a specified value in working units

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval<br>exLimitInterval+exLimitIntervalTreatAsWorking");
	var_Items.GroupBars(h1,"",false,h2,"",true,95,"0;0;2");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1221
How can I specify the distance between bars to be no more than a specified value

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval + exLimitInterval");
	var_Items.GroupBars(h1,"",false,h2,"",true,31,"0;0;2");
axG2antt1.EndUpdate();

1220
How can I specify the distance between bars to be no less than a specified value in working units

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval<br>exLimitIntervalMin + exLimitIntervalTreatAsWorking");
	var_Items.GroupBars(h1,"",false,h2,"",true,79,"2");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1219
How can I specify the distance between bars to be no less than a specified value

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval + exLimitIntervalMin");
	var_Items.GroupBars(h1,"",false,h2,"",true,15,"2");
axG2antt1.EndUpdate();

1218
How do I specify the distance between bars to be exactly the specified value in working units

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	var_Items.AddItem("");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval<br>exLimitInterval + exLimitIntervalTreatAsWorking");
	var_Items.GroupBars(h1,"",false,h2,"",true,95,"2");
	var_Items.set_ItemBar(0,"<*>",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1217
How do I specify the distance between bars to be exactly the specified value

axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","A");
	var_Items.AddItem("");
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Unknown",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","B");
	var_Items.AddLink("L1",h1,"",h2,"");
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,2);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkEndPos,0);
	var_Items.set_Link("L1",EXG2ANTTLib.LinkPropertyEnum.exLinkText,"exPreserveBarLength + exIgnoreOriginalInterval");
	var_Items.GroupBars(h1,"",false,h2,"",true,7,"2");
axG2antt1.EndUpdate();

1216
How do I specify the day's duration to be working only
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
axG2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1215
How do I specify the the user can't resize the bar at left side ( starting point )
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
axG2antt1.Chart.Bars.Add("Task:Split").Shortcut = "Task";
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","not resizable on left");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
axG2antt1.EndUpdate();

1214
How do I specify the the user can't resize the bar at left side ( starting point )
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","not resizable on left");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,2);
axG2antt1.EndUpdate();

1213
How do I specify the the user can't resize the bar at right side ( ending point )
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","not resizable on right");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,1);
axG2antt1.EndUpdate();

1212
How do I specify the the user can't resize the bar at runtime
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","not resizable");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
axG2antt1.EndUpdate();

1211
How do I specify the day's duration to be at least a specified length
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","> 2 Days");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarMinDuration,2);
axG2antt1.EndUpdate();

1210
How do I specify the day's duration to be maximum a specified length
axG2antt1.BeginUpdate();
axG2antt1.Columns.Add("Tasks");
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LevelCount = 2;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","< 3 Days");
	var_Items.set_ItemBar(h1,"A",EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxDuration,3);
axG2antt1.EndUpdate();

1209
I am trying to construct a timeline that is not date specific. My timeline starts at T=00:00:00 and then increases by 5 seconds. Is it possible

EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = 0;
	var_Chart.UnitWidth = 48;
	var_Chart.NonworkingDays = 0;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%hh%>:<%nn%>:<%ss%>";
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exSecond;
		var_Level.Count = 5;

1208
How can I specify the levels using the user's Regional and Language Options

axG2antt1.BeginUpdate();
axG2antt1.Font.Name = "Arial Unicode MS";
axG2antt1.HeaderHeight = 36;
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("5/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstWeekDay = EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.UnitWidth = 36;
	var_Chart.LevelCount = 2;
	EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<b><%loc_mmmm%></b> <%yyyy%><br><%loc_sdate%><r> <%ww%> ";
		var_Level.ToolTip = var_Level.Label;
		var_Level.Unit = EXG2ANTTLib.UnitEnum.exWeek;
	EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%loc_ddd%><br><%d%>";
		var_Level1.ToolTip = var_Level1.Label;
	var_Chart.ToolTip = "<%loc_ldate%>";
axG2antt1.EndUpdate();

1207
How do I arrange, format or layout the item on multiple levels or lines, as a subform

axG2antt1.BeginUpdate();
axG2antt1.Chart.set_PaneWidth(true,0);
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exRowLines;
axG2antt1.HeaderVisible = EXG2ANTTLib.HeaderVisibleEnum.exHeaderHidden;
axG2antt1.ItemsAllowSizing = EXG2ANTTLib.ItemsAllowSizingEnum.exResizeItem;
axG2antt1.MarkSearchColumn = false;
axG2antt1.ScrollBySingleLine = true;
axG2antt1.BackColor = Color.FromArgb(255,255,255);
axG2antt1.SelBackColor = Color.FromArgb(255,255,255);
(axG2antt1.GetOcx() as EXG2ANTTLib.G2antt).SelForeColor = 0x80000012;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	var_Columns.Add("");
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column.Visible = false;
		var_Column.Editor.EditType = EXG2ANTTLib.EditTypeEnum.EditType;
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column1.Visible = false;
		var_Column1.Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownType;
	EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column2.Visible = false;
		var_Column2.Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownType;
	EXG2ANTTLib.Column var_Column3 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column3.Visible = false;
		EXG2ANTTLib.Editor var_Editor = var_Column3.Editor;
			var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.CheckValueType;
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	EXG2ANTTLib.Column var_Column4 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column4.Visible = false;
		var_Column4.Editor.EditType = EXG2ANTTLib.EditTypeEnum.DateType;
	(var_Columns.Add("Column") as EXG2ANTTLib.Column).Visible = false;
	EXG2ANTTLib.Column var_Column5 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column5.Visible = false;
		var_Column5.Editor.EditType = EXG2ANTTLib.EditTypeEnum.DropDownType;
	EXG2ANTTLib.Column var_Column6 = (var_Columns.Add("Column") as EXG2ANTTLib.Column);
		var_Column6.Visible = false;
		var_Column6.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,0);
		var_Editor = var_Column6.Editor;
			var_Editor.EditType = EXG2ANTTLib.EditTypeEnum.MemoType;
			var_Editor.ButtonWidth = 17;
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exDownArrow,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exEndKey,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exHomeKey,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exLeftArrow,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoAutoSize,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exMemoVScrollBar,-1);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exPageDownKey,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exPageUpKey,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exRightArrow,0);
			var_Editor.set_Option(EXG2ANTTLib.EditorOptionEnum.exUpArrow,0);
		var_Column6.Visible = false;
	(var_Columns.Add("Column") as EXG2ANTTLib.Column).Visible = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h0 = var_Items.AddItem("");
	var_Items.set_CellValue(h0,9,"Dismiss");
	var_Items.set_CellFormatLevel(h0,0,"12;\" \"[b=0][bg=RGB(248,248,248)]/(\" \"[b=0][bg=RGB(248,248,248)]:12,(1;\" \"[b=0]/(\" \"[b=0]:1,(25;(5;\" \"[b=0]/((\"Subjec" +
"t:\"[b=0]:80,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,(\" \"[b=0][bg=RGB(255,0,0)]:5,1[b=0]),\" \"[b=0][bg=RGB(" +
"0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]))/1;\" \"[b=0]))/20;(\"Location:\"[b=0]:80,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RG" +
"B(0,0,0)]:1,2[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]),((\" \"[b=0]:10,\"Label:\"[b=0])):50,(1;\" \"[b=0][" +
"bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,3[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]))/50;(10;\" \"[b=0]/" +
"(1;\" \"[b=0][bg=RGB(255,0,0)]/(\"Recurrence:\"[b=0]:80,\"Occurs every day effective 20/04/2007 from 01:00 to 01:01.\"[b=0])/1;\" +
"" \"[b=0][bg=RGB(255,0,0)])/10;\" \"[b=0])/23;(4[b=0]:20,\"Reminder:\"[b=0]:60,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0" +
",0,0)]:1,5[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]),((\" \"[b=0]:5,6[b=0])):30,((\" \"[b=0]:10,\"Show time" +
" as:\"[b=0])):90,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,7[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=R" +
"GB(0,0,0)]))/(12;\" \"[b=0]/(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,8[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \" +
""[b=0][bg=RGB(0,0,0)]))/35;(5;\" \"[b=0]/(\" \"[b=0],\" \"[b=0],((\" \"[b=0]:40,9[b=0])))/5;\" \"[b=0])),\" \"[b=0]:1)/1;\" \"[b" +
"=0]),\" \"[b=0][bg=RGB(248,248,248)]:12)/12;\" \"[b=0][bg=RGB(248,248,248)]");
	var_Items.set_CellHasCheckBox(h0,4,true);
	var_Items.set_CellHasButton(h0,9,true);
	var_Items.set_CellHAlignment(h0,9,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_CellVAlignment(h0,8,EXG2ANTTLib.VAlignmentEnum.exTop);
	var_Items.set_CellForeColor(h0,8,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,0)));
	var_Items.set_CellHasButton(h0,6,true);
	var_Items.set_CellValue(h0,6,"<img>1</img>");
	var_Items.set_CellValueFormat(h0,6,EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellHAlignment(h0,6,EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.set_ItemHeight(h0,296);
axG2antt1.EndUpdate();

1206
How can I arrange the columns on multiple levels

axG2antt1.BeginUpdate();
axG2antt1.DefaultItemHeight = 48;
EXG2ANTTLib.Columns var_Columns = axG2antt1.Columns;
	(var_Columns.Add("Title") as EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("FirstName") as EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("LastName") as EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("Photo") as EXG2ANTTLib.Column).Visible = false;
	EXG2ANTTLib.Column var_Column = (var_Columns.Add("Address") as EXG2ANTTLib.Column);
		var_Column.Visible = false;
		var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
	EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Personal Info") as EXG2ANTTLib.Column);
		var_Column1.FormatLevel = "3:48,(0/1/2),4:96";
		var_Column1.set_Def(EXG2ANTTLib.DefColumnEnum.exCellFormatLevel,"3:48,(0/1/2),4:96");
axG2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
axG2antt1.Chart.Bars["Task"].OverlaidType = EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Sales Representative");
	var_Items.set_CellValue(h,1,"Nancy");
	var_Items.set_CellValue(h,2,"Davolio");
	var_Items.set_CellPicture(h,3,(axG2antt1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp));
	var_Items.set_CellValue(h,4,"507-20th Ave. E.Apt.  2A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),2,2);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),1,1);
axG2antt1.EndUpdate();

1205
Is it possible to display a bar only using a gradient color using the exBarColor option

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
		var_Bar.EndColor = var_Bar.StartColor;
		var_Bar.Height = 17;
axG2antt1.Columns.Add("Types");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	h = var_Items.AddItem("W/h Color");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1204
Is it possible to display a bar only using a gradient color

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
		var_Bar.EndColor = var_Bar.StartColor;
		var_Bar.Height = 17;
axG2antt1.Columns.Add("Types");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,227);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1203
Is it possible to display a bar only using a gradient color

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.StartColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
		var_Bar.EndColor = var_Bar.Color;
axG2antt1.Columns.Add("Types");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Gradient");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,99);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1202
How can I display a specified bar only with a thicker border

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
axG2antt1.Columns.Add("Types");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Border");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,4099);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();

1201
Is it possible to display the shadow for a specified bar

axG2antt1.BeginUpdate();
EXG2ANTTLib.Chart var_Chart = axG2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
axG2antt1.Columns.Add("Types");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	int h = var_Items.AddItem("W/h Shadow");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.set_ItemBar(h,"",EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,8195);
	var_Items.AddBar(var_Items.AddItem("Original"),"Task",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
axG2antt1.EndUpdate();